package shiro.com.domain.sys;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import shiro.com.basie.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_resoure_test
 *
 * @author ruoyi
 * @date 2022-11-09
 */
@Data
@Builder
@TableName(value="SYS_RESOURE_TEST")
public class SysResoureTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单id */
    @TableId(value = "ST_RE_ID", type = IdType.AUTO)
    private Long sysReId;

    /** 菜单名 */
    private String sysReName;

    /** 菜单类型 */
    private String sysReType;

    /** 菜单路径 */
    private String sysReUrl;

    /** 权限标识 */
    private String sysRePer;

    /** 父类id */
    private Long sysReParanterid;

    /** 菜单排序 */
    private Integer sysReSort;

    /** 菜单状态 */
    private Integer sysReStatu;

    /** 创建时间 */
    private Date sysReCretime;

    /** 更新时间 */
    private Date sysReUpdatetime;
    private String sysReIcon;

    public SysResoureTest() {
    }

    public SysResoureTest(Long sysReId, String sysReName, String sysReType, String sysReUrl, String sysRePer, Long sysReParanterid, Integer sysReSort, Integer sysReStatu, Date sysReCretime, Date sysReUpdatetime,String sysReIcon ) {
        this.sysReId = sysReId;
        this.sysReName = sysReName;
        this.sysReType = sysReType;
        this.sysReUrl = sysReUrl;
        this.sysRePer = sysRePer;
        this.sysReParanterid = sysReParanterid;
        this.sysReSort = sysReSort;
        this.sysReStatu = sysReStatu;
        this.sysReCretime = sysReCretime;
        this.sysReUpdatetime = sysReUpdatetime;
        this.sysReIcon = sysReIcon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sysReId", getSysReId())
            .append("sysReName", getSysReName())
            .append("sysReType", getSysReType())
            .append("sysReUrl", getSysReUrl())
            .append("sysRePer", getSysRePer())
            .append("sysReParanterid", getSysReParanterid())
            .append("sysReSort", getSysReSort())
            .append("sysReStatu", getSysReStatu())
            .append("sysReCretime", getSysReCretime())
            .append("sysReUpdatetime", getSysReUpdatetime())
                .append("sysReIcon", getSysReIcon())
            .toString();
    }
}
